@csrf
<div class="layui-form-item">
    <label for="name" class="layui-form-label">名称</label>
    <div class="layui-input-block">
        <input type="text" name="name" class="layui-input" value="{{$category->name??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="pid" class="layui-form-label">上级</label>
    <div class="layui-input-block">
        <input type="text" name="pid" id="pid" class="layui-input" lay-filter='pid' value="{{$category->pid??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="ident" class="layui-form-label">英文标识</label>
    <div class="layui-input-block">
        <input type="text" name="ident" class="layui-input" value="{{$category->ident??''}}">
    </div>
</div>
